package cn.cuilan.entity;

import cn.cuilan.base.BaseEntity;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 省份
 *
 * @author zhangyue
 */
@Entity
public class PositionProvince extends BaseEntity<Long> implements Serializable {

    /**
     * 省份代码
     */
    private int provinceCode;

    /**
     * 省份名称
     */
    private String provinceName;

    /**
     * 关联t_position_country(国家表)
     */
    private int countryId;

    public PositionProvince() {
    }

    public PositionProvince(int provinceCode, String provinceName, int countryId) {
        this.provinceCode = provinceCode;
        this.provinceName = provinceName;
        this.countryId = countryId;
    }

    public int getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(int provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public int getCountryId() {
        return countryId;
    }

    public void setCountryId(int countryId) {
        this.countryId = countryId;
    }

}
